<script setup lang="ts">
import variables from '@/styles/variables.module.scss';
import Upload from "./components/Upload/index.vue"
setElementStyle() //初始化主题色
function setElementStyle() {
  const el = document.documentElement
  el.style.setProperty('--el-menu-hover-bg-color', variables.primary)
  el.style.setProperty('--el-menu-hover-text-color', "#ffffff")
  el.style.setProperty('--el-menu-item-height', '30px')
  el.style.setProperty('--el-color-primary', variables.primary)

}

</script>

<template>
  <div style="width:100%;height:100%">
    <router-view></router-view>
  </div>
</template>

<style lang="scss">
  #nprogress .bar{
     background: #66FE32 !important; 
     >.peg{
      box-shadow: 0 0 10px #66FE32, 0 0 5px #66FE32;
     }
  }
</style>
